/**
 *
 */
qui(
    function (require, exports, module) {
        RecordCol.Task = (function () {
            var getLegoCategory = function (typeName,  regName) {
                if (regName == null) {
                    regName = typeName;
                }
                var requestData = {url: RecordCol.Constant.thirdUrl_channel_url, type: "get", needCookie: true};
                return {
                    regName: regName,
                    options: {
                        type: "post",
                        url: "/api/redirect",
                        dataType: "json",
                        data: {"request": JSON.stringify(requestData), timeSign: new Date().getTime()}
                    }
                }
            }
            return {
                getLegoCategory:getLegoCategory
            }
        })()
    }
);